package com.fowo.api.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 角色与菜单的关系
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("sys_role_menu")
@Schema(title = "角色菜单关联")
public class SysRoleMenu extends SysBase implements Serializable {
    /**
     * 关联系统角色
     */
    private Long roleId;

    /**
     * 关联系统菜单
     */
    private Long menuId;
}
